↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
QS_IN(.(X, Xs), Ys) → PART_IN(X, Xs, Littles, Bigs)
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → LE_IN(X, Y)
LE_IN(s(X), s(Y)) → U111(X, Y, le_in(X, Y))
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U81(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → GT_IN(X, Y)
GT_IN(s(X), s(Y)) → U101(X, Y, gt_in(X, Y))
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U61(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U31(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U41(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → APP_IN(Ls, .(X, Bs), Ys)
APP_IN(.(X, Xs), Ys, .(X, Zs)) → U91(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
QS_IN(.(X, Xs), Ys) → PART_IN(X, Xs, Littles, Bigs)
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → LE_IN(X, Y)
LE_IN(s(X), s(Y)) → U111(X, Y, le_in(X, Y))
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U81(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → GT_IN(X, Y)
GT_IN(s(X), s(Y)) → U101(X, Y, gt_in(X, Y))
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U61(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U31(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U41(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → APP_IN(Ls, .(X, Bs), Ys)
APP_IN(.(X, Xs), Ys, .(X, Zs)) → U91(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN → APP_IN
APP_IN → APP_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
GT_IN → GT_IN
GT_IN → GT_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LE_IN → LE_IN
LE_IN → LE_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
↳ PrologToPiTRSProof
PART_IN → U51(gt_in)
U51(gt_out(X, Y)) → PART_IN
PART_IN → U71(le_in)
U71(le_out(X)) → PART_IN
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PiDP
↳ PrologToPiTRSProof
PART_IN → U51(gt_in)
PART_IN → U71(le_out(0))
PART_IN → U71(U11(le_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U51(U10(gt_in))
PART_IN → U51(gt_out(s(0), 0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
PART_IN → U51(U10(gt_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
PART_IN → U51(gt_out(s(0), 0))
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
PART_IN → U51(U10(gt_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
PART_IN → U51(gt_out(s(0), 0))
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
U21(qs_out) → QS_IN
U11(part_out(Littles)) → U21(qs_in)
QS_IN → U11(part_in)
U11(part_out(Littles)) → QS_IN
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
U11(part_out(y0)) → U21(U1(part_in))
U11(part_out(y0)) → U21(qs_out)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
U21(qs_out) → QS_IN
QS_IN → U11(part_in)
U11(part_out(y0)) → U21(U1(part_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
QS_IN → U11(part_out([]))
QS_IN → U11(U7(le_in))
QS_IN → U11(U5(gt_in))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
QS_IN → U11(U7(le_in))
U21(qs_out) → QS_IN
QS_IN → U11(part_out([]))
U11(part_out(y0)) → U21(U1(part_in))
QS_IN → U11(U5(gt_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
QS_IN → U11(U7(le_in))
U21(qs_out) → QS_IN
QS_IN → U11(part_out([]))
U11(part_out(y0)) → U21(U1(part_in))
QS_IN → U11(U5(gt_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
QS_IN(.(X, Xs), Ys) → PART_IN(X, Xs, Littles, Bigs)
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → LE_IN(X, Y)
LE_IN(s(X), s(Y)) → U111(X, Y, le_in(X, Y))
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U81(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → GT_IN(X, Y)
GT_IN(s(X), s(Y)) → U101(X, Y, gt_in(X, Y))
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U61(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U31(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U41(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → APP_IN(Ls, .(X, Bs), Ys)
APP_IN(.(X, Xs), Ys, .(X, Zs)) → U91(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
QS_IN(.(X, Xs), Ys) → PART_IN(X, Xs, Littles, Bigs)
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → LE_IN(X, Y)
LE_IN(s(X), s(Y)) → U111(X, Y, le_in(X, Y))
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U81(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → GT_IN(X, Y)
GT_IN(s(X), s(Y)) → U101(X, Y, gt_in(X, Y))
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U61(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U31(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U41(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
U31(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → APP_IN(Ls, .(X, Bs), Ys)
APP_IN(.(X, Xs), Ys, .(X, Zs)) → U91(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN(.(X, Xs), Ys, .(X, Zs)) → APP_IN(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN → APP_IN
APP_IN → APP_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_IN(s(X), s(Y)) → GT_IN(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_IN → GT_IN
GT_IN → GT_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LE_IN(s(X), s(Y)) → LE_IN(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
LE_IN → LE_IN
LE_IN → LE_IN
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
PART_IN(X, .(Y, Xs), Ls, .(Y, Bs)) → U71(X, Y, Xs, Ls, Bs, le_in(X, Y))
U71(X, Y, Xs, Ls, Bs, le_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
PART_IN(X, .(Y, Xs), .(Y, Ls), Bs) → U51(X, Y, Xs, Ls, Bs, gt_in(X, Y))
U51(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → PART_IN(X, Xs, Ls, Bs)
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
PART_IN → U51(gt_in)
U51(gt_out(X, Y)) → PART_IN
PART_IN → U71(le_in)
U71(le_out(X)) → PART_IN
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PiDP
PART_IN → U51(gt_in)
PART_IN → U71(le_out(0))
PART_IN → U71(U11(le_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U51(U10(gt_in))
PART_IN → U51(gt_out(s(0), 0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PiDP
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
PART_IN → U51(U10(gt_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
PART_IN → U51(gt_out(s(0), 0))
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
le_in
gt_in
U11(x0)
U10(x0)
PART_IN → U71(U11(le_in))
PART_IN → U71(le_out(0))
PART_IN → U51(U10(gt_in))
U51(gt_out(X, Y)) → PART_IN
U71(le_out(X)) → PART_IN
PART_IN → U51(gt_out(s(0), 0))
le_in → le_out(0)
le_in → U11(le_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U11(le_out(X)) → le_out(s(X))
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U21(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U11(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → QS_IN(Littles, Ls)
QS_IN(.(X, Xs), Ys) → U11(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
U21(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → QS_IN(Bigs, Bs)
qs_in([], []) → qs_out([], [])
qs_in(.(X, Xs), Ys) → U1(X, Xs, Ys, part_in(X, Xs, Littles, Bigs))
part_in(X, [], [], []) → part_out(X, [], [], [])
part_in(X, .(Y, Xs), Ls, .(Y, Bs)) → U7(X, Y, Xs, Ls, Bs, le_in(X, Y))
le_in(0, 0) → le_out(0, 0)
le_in(0, s(X)) → le_out(0, s(X))
le_in(s(X), s(Y)) → U11(X, Y, le_in(X, Y))
U11(X, Y, le_out(X, Y)) → le_out(s(X), s(Y))
U7(X, Y, Xs, Ls, Bs, le_out(X, Y)) → U8(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
part_in(X, .(Y, Xs), .(Y, Ls), Bs) → U5(X, Y, Xs, Ls, Bs, gt_in(X, Y))
gt_in(s(0), 0) → gt_out(s(0), 0)
gt_in(s(X), s(Y)) → U10(X, Y, gt_in(X, Y))
U10(X, Y, gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(X, Y, Xs, Ls, Bs, gt_out(X, Y)) → U6(X, Y, Xs, Ls, Bs, part_in(X, Xs, Ls, Bs))
U6(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), .(Y, Ls), Bs)
U8(X, Y, Xs, Ls, Bs, part_out(X, Xs, Ls, Bs)) → part_out(X, .(Y, Xs), Ls, .(Y, Bs))
U1(X, Xs, Ys, part_out(X, Xs, Littles, Bigs)) → U2(X, Xs, Ys, Bigs, qs_in(Littles, Ls))
U2(X, Xs, Ys, Bigs, qs_out(Littles, Ls)) → U3(X, Xs, Ys, Ls, qs_in(Bigs, Bs))
U3(X, Xs, Ys, Ls, qs_out(Bigs, Bs)) → U4(X, Xs, Ys, app_in(Ls, .(X, Bs), Ys))
app_in([], Ys, Ys) → app_out([], Ys, Ys)
app_in(.(X, Xs), Ys, .(X, Zs)) → U9(X, Xs, Ys, Zs, app_in(Xs, Ys, Zs))
U9(X, Xs, Ys, Zs, app_out(Xs, Ys, Zs)) → app_out(.(X, Xs), Ys, .(X, Zs))
U4(X, Xs, Ys, app_out(Ls, .(X, Bs), Ys)) → qs_out(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
U21(qs_out) → QS_IN
U11(part_out(Littles)) → U21(qs_in)
QS_IN → U11(part_in)
U11(part_out(Littles)) → QS_IN
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
U11(part_out(y0)) → U21(U1(part_in))
U11(part_out(y0)) → U21(qs_out)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
U21(qs_out) → QS_IN
QS_IN → U11(part_in)
U11(part_out(y0)) → U21(U1(part_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
QS_IN → U11(part_out([]))
QS_IN → U11(U7(le_in))
QS_IN → U11(U5(gt_in))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
QS_IN → U11(U7(le_in))
U21(qs_out) → QS_IN
QS_IN → U11(part_out([]))
U11(part_out(y0)) → U21(U1(part_in))
QS_IN → U11(U5(gt_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out
qs_in
part_in
le_in
U11(x0)
U7(x0)
gt_in
U10(x0)
U5(x0)
U6(x0, x1)
U8(x0)
U1(x0)
U2(x0)
U3(x0)
app_in
U9(x0)
U4(x0)
QS_IN → U11(U7(le_in))
U21(qs_out) → QS_IN
QS_IN → U11(part_out([]))
U11(part_out(y0)) → U21(U1(part_in))
QS_IN → U11(U5(gt_in))
U11(part_out(Littles)) → QS_IN
U11(part_out(y0)) → U21(qs_out)
qs_in → qs_out
qs_in → U1(part_in)
part_in → part_out([])
part_in → U7(le_in)
le_in → le_out(0)
le_in → U11(le_in)
U11(le_out(X)) → le_out(s(X))
U7(le_out(X)) → U8(part_in)
part_in → U5(gt_in)
gt_in → gt_out(s(0), 0)
gt_in → U10(gt_in)
U10(gt_out(X, Y)) → gt_out(s(X), s(Y))
U5(gt_out(X, Y)) → U6(Y, part_in)
U6(Y, part_out(Ls)) → part_out(.(Y, Ls))
U8(part_out(Ls)) → part_out(Ls)
U1(part_out(Littles)) → U2(qs_in)
U2(qs_out) → U3(qs_in)
U3(qs_out) → U4(app_in)
app_in → app_out
app_in → U9(app_in)
U9(app_out) → app_out
U4(app_out) → qs_out